function init_gct() {
    var e = "gdmb";

    function FnfH(e) {
        var n = 1;
        var r = "-";
        var i = "-";
        var o = "-";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function Hi_U(e) {
        var n = 5;
        var r = "--";
        var i = "--";
        var o = "--";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function IXwV(e) {
        var n = 4;
        var r = "-";
        var i = "--";
        var o = "--";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function Jddh(e) {
        var n = 8;
        var r = "--";
        var i = "-";
        var o = "-";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function KnvZ(e) {
        var n = 7;
        var r = "--";
        var i = "-";
        var o = "--";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function li(e) {
        var n = 3;
        var r = "-";
        var i = "--";
        var o = "-";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function LKya(e) {
        var n = 6;
        var r = "--";
        var i = "--";
        var o = "-";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    function MPUm(e) {
        var n = 2;
        var r = "-";
        var i = "-";
        var o = "--";
        var e = e;

        function GPEp() {
            try {
                if (e["random"]["length"]) {
                    e["VQDj"]({
                        "position": n,
                        "inner": r,
                        "middle": i,
                        "outside": o
                    });
                }
            } catch (t) {}
        }

        return {
            "cc": GPEp
        };
    }

    var t = function (t) {
        function u(t) {
            return typeof t === "function";
        }

        function o(t) {
            return typeof t === "object" && t !== null;
        }

        function c(t) {
            t();
        }

        function NfPR() {
            var t = this;
            t["WCOJ"] = t["Xeuj"] = null;
        }

        NfPR["prototype"] = {
            "enqueue": function (t) {
                var e = this;
                var n = {
                    "ele": t,
                    "next": null
                };

                if (e["WCOJ"] === null) {
                    e["WCOJ"] = this["Xeuj"] = n;
                } else {
                    e["Xeuj"]["next"] = n;
                    e["Xeuj"] = e["Xeuj"]["next"];
                }
            },
            "dequeue": function () {
                var t = this;

                if (t["WCOJ"] === null) {
                    throw new Error("queue is empty");
                }

                var e = t["WCOJ"]["ele"];
                t["WCOJ"] = t["WCOJ"]["next"];
                return e;
            },
            "isEmpty": function () {
                var t = this;
                return t["WCOJ"] === null;
            },
            "clear": function () {
                var t = this;
                t["WCOJ"] = t["YRjA"] = null;
            },
            "each": function (t) {
                var e = this;

                if (!e["isEmpty"]()) {
                    t(e["dequeue"]());
                    e["each"](t);
                }
            }
        };

        function a(e, t) {
            if (e === t) {
                e["ZnAf"](new TypeError());
            } else if (t instanceof OQzl) {
                t["then"](function (t) {
                    a(e, t);
                }, function (t) {
                    e["ZnAf"](t);
                });
            } else if (u(t) || o(t)) {
                var n;

                try {
                    n = t["then"];
                } catch (i) {
                    OQzl["avaL"](i);
                    e["ZnAf"](i);
                    return;
                }

                var r = false;

                if (u(n)) {
                    try {
                        n["call"](t, function (t) {
                            if (r) {
                                return;
                            }

                            r = true;
                            a(e, t);
                        }, function (t) {
                            if (r) {
                                return;
                            }

                            r = true;
                            e["ZnAf"](t);
                        });
                    } catch (i) {
                        if (r) {
                            return;
                        }

                        r = true;
                        e["ZnAf"](i);
                    }
                } else {
                    e["bYoi"](t);
                }
            } else {
                e["bYoi"](t);
            }
        }

        function OQzl(t) {
            var e = this;
            e["ccGr"] = e["PENDING"];
            e["dVeG"] = new NfPR();
            e["eYAG"] = new NfPR();

            if (u(t)) {
                try {
                    t(function (t) {
                        e["bYoi"](t);
                    }, function (t) {
                        e["ZnAf"](t);
                    });
                } catch (n) {
                    OQzl["avaL"](n);
                }
            }
        }

        var e = false;

        OQzl["debug"] = function () {
            e = true;
        };

        OQzl["avaL"] = function (t) {
            if (typeof getJSError === "function") {
                getJSError(t, true);
            }

            if (e && typeof console !== "undefined") {
                console["error"](t);
            }
        };

        OQzl["prototype"] = {
            "PENDING": 0,
            "RESOLVED": 1,
            "REJECTED": -1,
            "bYoi": function (t) {
                var e = this;

                if (e["ccGr"] !== e["PENDING"]) {
                    return;
                }

                e["ccGr"] = e["RESOLVED"];
                e["fyZJ"] = t;
                e["gsmu"]();
            },
            "ZnAf": function (t) {
                var e = this;

                if (e["ccGr"] !== e["PENDING"]) {
                    return;
                }

                e["ccGr"] = e["REJECTED"];
                e["hEQE"] = t;
                e["gsmu"]();
            },
            "gsmu": function () {
                var t = this;
                var e,
                n,
                r = t["ccGr"];

                if (r === t["RESOLVED"]) {
                    e = t["dVeG"];
                    t["eYAG"]["clear"]();
                    n = t["fyZJ"];
                } else if (r === t["REJECTED"]) {
                    e = t["eYAG"];
                    t["dVeG"]["clear"]();
                    n = t["hEQE"];
                }

                e["each"](function (t) {
                    c(function () {
                        t(r, n);
                    });
                });
            },
            "imNc": function (n, r, i) {
                var o = this;
                c(function () {
                    if (u(r)) {
                        var t;

                        try {
                            t = r(i);
                        } catch (e) {
                            OQzl["avaL"](e);
                            o["ZnAf"](e);
                            return;
                        }

                        a(o, t);
                    } else {
                        if (n === o["RESOLVED"]) {
                            o["bYoi"](i);
                        } else if (n === o["REJECTED"]) {
                            o["ZnAf"](i);
                        }
                    }
                });
            },
            "then": function (n, r) {
                var t = this;
                var i = new OQzl();
                t["dVeG"]["enqueue"](function (t, e) {
                    i["imNc"](t, n, e);
                });
                t["eYAG"]["enqueue"](function (t, e) {
                    i["imNc"](t, r, e);
                });

                if (t["ccGr"] === t["RESOLVED"]) {
                    t["gsmu"]();
                } else if (t["ccGr"] === t["REJECTED"]) {
                    t["gsmu"]();
                }

                return i;
            }
        };

        OQzl["all"] = function (n) {
            return new OQzl(function (r, i) {
                var o = n["length"];
                var u = 0;
                var c = false;
                var a = [];

                function PxSU(t, e, n) {
                    if (c) {
                        return;
                    }

                    if (t !== null) {
                        c = true;
                        i(t);
                    }

                    a[n] = e;
                    u += 1;

                    if (u === o) {
                        c = true;
                        r(a);
                    }
                }

                for (var t = 0; t < o; t = t + 1) {
                    (function (e) {
                        var t = n[e];

                        if (!(t instanceof OQzl)) {
                            t = new OQzl(t);
                        }

                        t["then"](function (t) {
                            PxSU(null, t, e);
                        }, function (t) {
                            PxSU(t || true);
                        });
                    })(t);
                }
            });
        };

        OQzl["race"] = function (c) {
            return new OQzl(function (n, r) {
                var i = c["length"];
                var o = false;
                var u = 0;

                function PxSU(t, e) {
                    if (o) {
                        return;
                    }

                    if (t == null) {
                        o = true;
                        n(e);
                    } else {
                        u += 1;

                        if (u >= i) {
                            o = true;
                            r(t);
                        }
                    }
                }

                for (var t = 0; t < i; t = t + 1) {
                    (function (t) {
                        var e = c[t];

                        if (!(e instanceof OQzl)) {
                            e = new OQzl(e);
                        }

                        e["then"](function (t) {
                            PxSU(null, t);
                        }, function (t) {
                            PxSU(t || true);
                        });
                    })(t);
                }
            });
        };

        OQzl["step"] = function (n) {
            var r = n["length"];
            var i = new OQzl();

            function o(e, t) {
                if (e >= r) {
                    return i["bYoi"](t);
                }

                new OQzl(n[e])["then"](function (t) {
                    o(e + 1, t);
                }, function (t) {
                    i["ZnAf"](t);
                });
            }

            new OQzl(n[0])["then"](function (t) {
                o(1, t);
            }, function (t) {
                i["ZnAf"](t);
            });
            return i;
        };

        OQzl["prototype"]["jAOw"] = function (t, e) {
            return this["then"](t, e);
        };

        return OQzl;
    }
    ();

    if (typeof Object["create"] !== "function") {
        Object["create"] = function (t, e) {
            if (typeof t !== "object" && typeof t !== "function") {
                throw new TypeError("Object prototype may only be an Object: " + t);
            } else if (t === null) {
                throw new Error("This browser's implementation of Object.create is a shim and doesn't support 'null' as the first argument.");
            }

            if (typeof e !== "undefined")
                throw new Error("This browser's implementation of Object.create is a shim and doesn't support a second argument.");

            function F() {}

            F["prototype"] = t;
            return new F();
        };
    }

    function QZlh(t, e) {
        try {
            this["query"] = Object["create"](t);
            this["error"] = [];
            this["random"] = this["query"][e] ? this["query"][e]["toString"]()["split"]("") : "";
            this["addition"] = "-";
            this["multiplication"] = "--";
        } catch (n) {}
    }

    QZlh["prototype"] = {
        "VQDj": function (r) {
            var e = this;
            new t(function (t, e) {
                var n = r["position"];
                t({
                    "position": n
                });
            })["jAOw"](function (t) {
                t["inner"] = r["inner"];
                return t;
            })["jAOw"](function (t) {
                t["middle"] = r["middle"];
                return t;
            })["jAOw"](function (t) {
                t["outside"] = r["outside"];
                return t;
            })["jAOw"](function (t) {
                t["lastVal"] = +e["random"][e["random"]["length"] - 1];
                return t;
            })["jAOw"](function (t) {
                if (e["random"][t["position"]]) {
                    t["inner"] === e["addition"] ? e["kgcs"](t["position"], t["lastVal"]) : e["lFyQ"](t["position"], t["lastVal"]);
                    t["middle"] === e["addition"] ? e["kgcs"](t["position"], t["lastVal"]) : e["lFyQ"](t["position"], t["lastVal"]);
                    t["outside"] === e["addition"] ? e["kgcs"](t["position"], t["lastVal"]) : e["lFyQ"](resposition, t["lastVal"]);
                }

                return;
            });
        },
        "kgcs": function (e, n) {
            var r = this;
            new t(function (t) {
                r["random"][e] = (+r["random"][e] + n)["toString"]();
                t();
            });
        },
        "lFyQ": function (e, n) {
            var r = this;
            new t(function (t) {
                r["random"][e] = (+r["random"][e] * n)["toString"]();
                t();
            });
        }
    };

    var n = function () {
        function RFEK(t) {
            var e = 5381;
            var n = t["length"];
            var r = 0;
            while (n--) {
                e = (e << 5) + e + t["charCodeAt"](r++);
            }

            e &= ~(1 << 31);
            return e;
        }

        function SFjo(t) {
            if (t["lang"] && t["ep"]) {
                t[e] = RFEK(SFjo["toString"]() + RFEK(RFEK["toString"]())) + "";
            }

            function Oo() {
                this["lang"] = t["lang"];
                this["ep"] = t["ep"];
            }

            Oo["prototype"] = new TnzE();

            function TnzE() {}

            TnzE["prototype"]["gg"] = {
                "n": Hi_U,
                "s": FnfH,
                "e": li,
                "es": MPUm,
                "en": IXwV,
                "w": KnvZ,
                "wn": LKya,
                "ws": Jddh,
                "f": QZlh
            };
            return new Oo();
        }

        return function (t) {
            if (t && Object["prototype"]["toString"]["call"](t) === "[object Object]") {
                return SFjo(t);
            }

            return RFEK(RFEK["toString"]());
        };
    }
    ();

    return n;
}

function FkFz(t) {
    var e = 5381;
    var n = t["length"];
    var o = 0;
    while (n--) {
        e = (e << 5) + e + t["charCodeAt"](o++);
    }
    e &= ~(1 << 31);
    return e;
}

function tbeH(e, t, r) {
    var n = new e["gg"]["f"](t, r);
    var i = ["n", "s", "e", "es", "en", "w", "wn", "ws"];
    var o = 70;
    var a = i["length"] - 2;
    for (var s = 0; s < r["length"]; s++) {
        var u = Math["abs"](r[s]["charCodeAt"]() - o)["toString"]()[1];
        var c;
        if (u > a) {
            c = e["gg"][i[a + 1]](n);
        } else {
            c = e["gg"][i[u]](n);
        }
        var _ = Math["abs"](r[s]["charCodeAt"]() - o)["toString"]()[0];
        for (var f = 0; f < _; f++) {
            c["cc"]();
        }
    }
    return n["random"]["join"]("")["slice"](0, 10);
}

function cal_gct_value(k, FkFz_str, GcKN_str) {
    // fake value
     var tt = {
        "lang": "zh-cn",
        "ep": {
            "v": "7.8.4",
        }
     };
     // old version，just to here
     if (tt["lang"] && tt["ep"]) {
         var kv = FkFz(GcKN_str + FkFz(FkFz_str)) + "";
     }
     // new version, added
     if (tt["lang"]) {
        var _gct = init_gct();
        var ee = _gct(tt);
        tt[k] = kv;
        return tbeH(ee, tt, k);
     }
}


// var kk = 'gdmb';
// var f1 = "function RFEK(t){var nMl=AFfNy.EJX()[0][8];for(;nMl!==AFfNy.EJX()[2][6];){switch(nMl){case AFfNy.EJX()[6][8]:var e=5381;var n=t[Dyqd(82)];var r=0;nMl=AFfNy.EJX()[0][7];break;case AFfNy.EJX()[6][7]:while(n--){e=(e<<5)+e+t[Dyqd(94)](r++);}e&=~(1<<31);return e;break;}}}";
// var f2 = "function SFjo(t){var oZW=AFfNy.EJX()[0][8];for(;oZW!==AFfNy.EJX()[4][7];){switch(oZW){case AFfNy.EJX()[4][8]:if(t[Dyqd(68)]&&t[Dyqd(69)]){t[e]=RFEK(SFjo[EEc_(58)]()+RFEK(RFEK[Dyqd(58)]()))+Dyqd(40);}function Oo(){var peb=AFfNy.EJX()[6][8];for(;peb!==AFfNy.EJX()[4][7];){switch(peb){case AFfNy.EJX()[6][8]:this[Dyqd(68)]=t[Dyqd(68)];this[EEc_(69)]=t[Dyqd(69)];peb=AFfNy.EJX()[4][7];break;}}}Oo[EEc_(56)]=new TnzE();function TnzE(){var qsg=AFfNy.EJX()[2][8];for(;qsg!==AFfNy.EJX()[4][8];){switch(qsg){}}}TnzE[EEc_(56)][Dyqd(65)]={\"\\u006e\":Hi_U,\"\\u0073\":FnfH,\"\\u0065\":li,\"\\u0065\\u0073\":MPUm,\"\\u0065\\u006e\":IXwV,\"\\u0077\":KnvZ,\"\\u0077\\u006e\":LKya,\"\\u0077\\u0073\":Jddh,\"\\u0066\":QZlh};return new Oo();break;}}}";
// var rr = cal_gct_value(kk, f1, f2);
// console.log(rr);

// test code 2
/*var tt = {
    "lang": "zh-cn",
    "ep": {
        "v": "7.8.4",
        "te": false,
        "me": true,
        "tm": {
            "a": 1632387503909,
            "b": 1632387504167,
            "c": 1632387504167,
            "d": 0,
            "e": 0,
            "f": 1632387503909,
            "g": 1632387503909,
            "h": 1632387503909,
            "i": 1632387503916,
            "j": 1632387504084,
            "k": 1632387503981,
            "l": 1632387504084,
            "m": 1632387504163,
            "n": 1632387504164,
            "o": 1632387504169,
            "p": 1632387504271,
            "q": 1632387504271,
            "r": 1632387504280,
            "s": 1632387511461,
            "t": 1632387511461,
            "u": 1632387511461
        },
        "td": -1
    }
};
var _gct = init_gct();
var ee = _gct(tt);
console.log(ee);
tt['gdmb'] = "137319037";
var res = tbeH(ee, tt, 'gdmb');
console.log(" ------ " + res);*/
